Compiler Design
Q101.
Consider the following statements. S1: The sequence of procedure calls corresponds to a preorder traversal of the activation tree. S2: The sequence of procedure returns corresponds to a postorder traversal of the activation tree.Which one of the following options is correct?Q102.
Early binding refers to a binding performed at compile time and late binding refers to a binding performed at execution time. Consider the following statements: i. Static scope facilitates w1 bindings. ii. Dynamic scope requires w2 bindings. iii. Early bindings w3 execution efficiency. iv. Late bindings w4 execution efficiency. The right choices of wl, w2, w3 and w4 (in that order) areQ104.
Which of the following class of statement usually produces no executable code when compiled?Q105.
Which of the following comparisons between static and dynamic type checking incorrect?Q106.
Which of the following is NOT represented in a subroutine's activation record frame for a stack-based programming language?Q107.
Relative to the program translated by a compiler, the same program when interpreted runsQ108.
Consider the control flow graph shown. Which one of the following choices correctly lists the set of live variables at the exit point of each basic block?Q110.
In a resident - OS computer, which of the following systems must reside in the main memory under all situations?